//
//  UIImage+StackClearness.h
//  UserProfie
//
//  Created by Lorwy on 15/3/27.
//  Copyright (c) 2015年 Lorwy. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum
{
    PullDownTypeBlur = 0,
    PullDownTypeClearness,
    
}PullDownType;

@interface UIImage (StackClearness)

- (UIImage *)stackClearness:(NSUInteger)radius;
- (UIImage *)normalize;

+ (void) applyStackBlurToBuffer:(UInt8 *)targetBuffer width:(const int)w height:(const int)h withRadius:(NSUInteger)inradius;

@end
